package com.sxpi.zixun.controller.user;

import com.sxpi.zixun.common.enums.AdminOrderResultEnum;
import com.sxpi.zixun.common.ex.PugValidatorException;
import com.sxpi.zixun.controller.BaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 董伟豪
 * @Date: 2022/6/10 15:56
 */
@RestController
@Slf4j
public class UserController extends BaseController {

    @PostMapping("/user/save")
    public String markOrder(){
        throw new PugValidatorException(AdminOrderResultEnum.ORDER_INPUT_ERROR);
    }

}
